package com.delivery.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration // 配置 放在容器中
@ConfigurationProperties(prefix = "wx.pay")  // 通过这个前缀去匹配文件中的内容
@Data
public class WxPayConfig {

    private String mchId;

    private String SerialNo;

    private String privateKeyPath;

    private String apiV3Key;

    private String appid;

    private String notifyDomain;

    private String refundsNotifyDomain;

}